package com.zjm.dao;

import com.zjm.entity.Student;

import java.util.List;

public interface StudentDao {
    //通过学号选择学生
    Student selectStudentById(Integer id);
    //通过姓名选择学生
    Student selectStudentByName(String name);


    //注册学生
    int insertStudent(Student student);


    //学生转专业
    int updateStudentMajor(Integer id,String major,String clas);
}
